<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="java.io.*" %>
<%@ page import="jxl.*" %>
<%@ page import="jxl.write.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>删除所有数据</title>
</head>
<body>
<%
	File fileName = new File("D:/workplace/stuinfo.xls"); /*创建一个fileName对象*/
	try {
		if (fileName.exists()) {
		fileName.delete();
		}
	} catch (Exception error) {
		
	}
	out.print("<script>alert('已删除所有数据，请返回！');</script>");
	out.print("<script>window.location='managerdeleteinfos.jsp';</script>");
%>


</body>
</html>